package com.online.questionnaire.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 提交记录 可查看每次提交详情
 * @TableName survey_submit
 */
@TableName(value ="survey_submit")
@Data
public class SurveySubmit implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 问卷id
     */
    @TableField(value = "surveyId")
    private Long surveyId;
    /**
     * 提交时间 秒
     */
    @TableField(value = "submitTime")
    private Long submitTime;

    /**
     * 用户id
     */
    @TableField(value = "userId")
    private Long userId;

    @TableField(exist = false)
    private String userName;

    /**
     * 浏览器指纹
     */
    @TableField(value = "fingerprint")
    private String fingerprint;

    /**
     * 提交时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "updateTime")
    private Date updateTime;

    /**
     * 逻辑删除
     */
    @TableField(value = "isDelete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}